package com.key.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.security.Timestamp;
import java.util.Date;

/**
 * @Author: li
 * @CreateTime: 2023-02-17  11:09
 */
@Data
@ApiModel("资产调拨单")

//资产调拨单
public class AssetsAllocation {

    //id
    @ApiModelProperty(name = "allocationId",notes = "id",dataType = "int",required = true)
    private Integer allocationId;
    //办理状态
    @ApiModelProperty(name = "allocationState",notes = "办理状态",dataType = "String",required = true)
    private String allocationState;
    //调拨单号
    @ApiModelProperty(name = "allocationNum",notes = "调拨单号",dataType = "String",required = true)
    private String allocationNum;
    //调出日期
//    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "outDate",notes = "调出日期",dataType = "Date",required = true)
    private String outDate;
    //调出用户
    @ApiModelProperty(name = "outPerson",notes = "调出用户",dataType = "String",required = true)
    private String outPerson;
    //调出公司
    @ApiModelProperty(name = "outCompany",notes = "调出公司",dataType = "String",required = true)
    private String outCompany;
    //调入日期
//    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "inDate",notes = "调入日期",dataType = "Date",required = true)
    private String inDate;
    //调入管理员
    @ApiModelProperty(name = "inPerson",notes = "调入管理员",dataType = "String",required = true)
    private String inPerson;
    //调入公司
    @ApiModelProperty(name = "inCompany",notes = "调入公司",dataType = "String",required = true)
    private String inCompany;
    //调拨说明
    @ApiModelProperty(name = "description",notes = "调拨说明",dataType = "String",required = true)
    private String description;




}
